package com.open.capacity.forum.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
/**
 * @Author moonholder
 * @Description 文章与分类专栏关系表
 * @Date 9:21 2021/3/6
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class ArticleCategoryRelation implements Serializable {
    /**
     * 文章关系id，主键自增
     */
    @TableId(value = "arreid", type = IdType.AUTO)
    private Integer arreid;

    /**
     * 文章id
     */
    private Integer arleid;

    /**
     * 文章分类专栏id
     */
    private Integer cateid;

    private static final long serialVersionUID = 1L;
}

